home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcppal.arc
/
WASHDC.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1987-01-01
|
4KB
|
161 lines
CLEAR
LOCATE 1,0
TRANSMIT "C DIAL"
TRANSMIT S2
TRANSMIT "/"
TRANSMIT S9
TRANSMIT ","
TRANSMIT S8
TRANSMIT "!"
WAITFOR "="
TRANSMIT S7
TRANSMIT "!"
CLEAR
RGET S5
RGET S5
LOCATE 1,0
RGET S5
PAUSE 1
FIND S5 "CONNECT"
IF NOT FOUND
CLEAR
LOCATE 1,0
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE MAIN MENU"
PAUSE 2
CLEAR
LOCATE 1,0
EXECUTE "INTRO.CMD"
ENDIF
BEGIN:
CLEAR
LOCATE 4,0
MESSAGE " ╔══╡ WASH DC BBS NUMBERS ╞══╗"
MESSAGE " ║ ║"
MESSAGE " ║ 1 - Net Exchange ║"
MESSAGE " ║ 2 - DeathStar ║"
MESSAGE " ║ 3 - Fannie Mae ║"
MESSAGE " ║ 4 - DataBit ║"
MESSAGE " ║ 5 - Arquimedes ║"
MESSAGE " ║ 6 - Life's Like That ║"
MESSAGE " ║ M - Manual Dial ║"
MESSAGE " ║ Q - Return to MAIN menu ║"
MESSAGE " ║ ║"
MESSAGE " ╠═══════════════════════════╣"
MESSAGE " ║ ENTER THE # OF THE BBS OF ║"
MESSAGE " ║ YOUR CHOICE: ║"
MESSAGE " ╚═══════════════════════════╝"
LOCATE 17,40
MESSAGE " "
LOCATE 17,40
GET S5 1
SWITCH S5
CASE "1"
ASSIGN S3 "Net Exchange"
ASSIGN S4 "6893561"
ENDCASE
CASE "2"
ASSIGN S3 "DeathStar"
ASSIGN S4 "8390705"
ENDCASE
CASE "3"
ASSIGN S3 "Fannie Mae"
ASSIGN S4 "5377475"
ENDCASE
CASE "4"
ASSIGN S3 "DataBit"
ASSIGN S4 "3709832"
ENDCASE
CASE "5"
ASSIGN S3 "Arquimedes"
ASSIGN S4 "6988230"
ENDCASE
CASE "6"
ASSIGN S3 "Life's Like That"
ASSIGN S4 "5605616"
ENDCASE
CASE "M"
CLEAR
LOCATE 5,20
MESSAGE "NUMBER TO DIAL:"
LOCATE 5,36
ASSIGN S3 "MANUAL DIAL"
GET S4
ENDCASE
CASE "Q"
CLEAR
TRANSMIT "!@!"
WAITFOR "@"
TRANSMIT "D!"
WAITFOR "@"
CLEAR
LOCATE 1,0
PAUSE 1
EXECUTE "INTRO.CMD"
ENDCASE
DEFAULT
MESSAGE "^G"
LOCATE 17,40
GOTO BEGIN
ENDCASE
ENDSWITCH
CLEAR
LOCATE 1,0
MESSAGE "CONNECTED TO PCP"
MESSAGE S1
MESSAGE "DIALING"
MESSAGE S3
TRANSMIT "ATZ!"
WAITFOR "OK" 10
TRANSMIT "ATDT"
TRANSMIT S4
TRANSMIT "!"
RGET S0
RGET S0 80 40
RGET S0
PAUSE 2
FIND S0 "BUSY"
IF FOUND
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
FIND S0 "CONNECT"
IF FOUND
SET PARITY NONE
SET DATABITS 8
ELSE
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
ALARM 1
EXIT